package com.devgroupvn.guinness.youtube;


public class YoutubeData
{
	private String _id;
	private String _videoLink;
	private String _thumbnailLink;
	private String _videoName;
	private String _desc;
	private String _viewCount;
	private String _duration;
	private String _format;
	private String _mediaId;
	private String _uploaded = "";
	public boolean _isSelected = false;
	public String _rating="";
	public String _directlink ="";

	/*
	 * "author":"TA", "duration":"518", "title":"Hero", "url_id":"184645648", "thumb_link":"www.xyz.com", "video_link":"www.abc.com", "rating":"2",
	 * "format":"5", "view_count":"261", "direct_link":""
	 */
	public void setVideoLink(String videoLink)
	{
		this._videoLink = videoLink;
	}

	public String getVideoLink()
	{
		return _videoLink;
	}

	public void setThumbnailLink(String thumbnailLink)
	{
		this._thumbnailLink = thumbnailLink;
	}

	public String getThumbnailLink()
	{
		return _thumbnailLink;
	}

	public void setVideoName(String videoName)
	{
		this._videoName = videoName;
	}

	public String getVideoName()
	{
		return _videoName;
	}

	public void setDesc(String desc)
	{
		this._desc = desc;
	}

	public String getDesc()
	{
		return _desc;
	}

	public void setViewCount(String viewCount)
	{
		this._viewCount = viewCount;
	}

	public String getViewCount()
	{
		return _viewCount;
	}

	public void setDuration(String duration)
	{
		this._duration = duration;
	}

	public String getDuration()
	{
//		return (new SimpleDateFormat("mmm:ss")).format(new Date(Long.parseLong(_duration)));
		return _duration;
	}

	public String getUploaded()
	{
		return _uploaded;
	}

	public void setUploaded(String uploaded)
	{
		this._uploaded = uploaded;
	}

	public void setFormat(String format)
	{
		this._format = format;
	}

	public String getFormat()
	{
		return _format;
	}

	public void setMediaId(String _mediaId)
	{
		this._mediaId = _mediaId;
	}

	public String getMediaId()
	{
		return _mediaId;
	}

	public void setId(String _id)
	{
		this._id = _id;
	}

	public String getId()
	{
		return _id;
	}

}
